package org.pork.criteria;

public class BbsCriteria {
	
	private Integer page;
	private String flag;
	private String departCode;
	private String keyword;
	private String keywordType;
	private Integer TotalCnt;
	
	public BbsCriteria(){
		
		this(null, null, 1, 76);
	
	}
	
	public BbsCriteria(String keyword, String keywordType, Integer page, Integer totalcnt){
		
		this.keyword = keyword;
		this.keywordType = keywordType;
		this.page = page;
		this.TotalCnt = totalcnt;
		
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getDepartCode() {
		return departCode;
	}

	public void setDepartCode(String departCode) {
		this.departCode = departCode;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getKeywordType() {
		return keywordType;
	}

	public void setKeywordType(String keywordType) {
		this.keywordType = keywordType;
	}

	public Integer getTotalCnt() {
		return TotalCnt;
	}

	public void setTotalCnt(Integer totalCnt) {
		TotalCnt = totalCnt;
	}

	@Override
	public String toString() {
		return "BbsCriteria [page=" + page + ", flag=" + flag + ", departCode="
				+ departCode + ", keyword=" + keyword + ", keywordType="
				+ keywordType + ", TotalCnt=" + TotalCnt + "]";
	}

	
	
}
